<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{% block title %}{% endblock %}</title>
</head>
<body>
    <ul>
        <li><a href="#">首页</a></li>
        <li><a href="#">新闻</a></li>
    </ul>
    <div>这是父模板的文字</div>
    {% block body %}{% endblock %}
    <footer>这是底部的标签</footer>
</body>
</html>